export default app => {
  const { INTEGER, DATE, DataTypes } = app.Sequelize;

  const mergeProductPatent = app.model.define('merge_product_patent', {
    id: { type: INTEGER, primaryKey: true, autoIncrement: true },
    product_id: {
      type: DataTypes.INTEGER,
    },
    patent_id: {
      type: DataTypes.INTEGER,
    },
    createdAt: DATE,
    updatedAt: DATE,
  });
  return mergeProductPatent;
};
